export type RoleType = '' | '*' | 'admin' | 'user'
export interface UserState {
  isAdmin: number
  identityType: number
  tenantId: string
  tenantName: string
  userType: number
  userId: string
  userAccount: string
  userName: string
  fullUserName: string
  roleNames: string
  permissionConfigList: object[]
  permissionList: string[]
  dataPermissionEnable: boolean
  dataScope: number
  dataIdList: string[]
  projectNameList: string[]
  rootOrgId: string
  rootOrgName: string
  employeeArchivesId: string
  employeeNumber: number
  employeeName: string
  orgId: string
  orgPath: string
  positionName: string
  ext: string
  role: string
  avatar: string

  phoneNumber: string
  email: string
  remark: string
  enable: number
  roleId?: any
  roleName?: any
  updatedBy: string
  updatedDt: string
  isLongUser: number
  dataRoleId?: any
  dataRoleName: string
  isWxlogin: number
}
